def input_username():
    username=input('请输入用户名')
    return username
def input_password():
    password= input('请输入密码')
    return password

def login():
    if input_username() == 'admin' and input_password() == '123456':
        print('登录成功')
    else:
        print('登陆失败')
login()


